package strategy.fromKanYun;

abstract class Character {
    protected WeaponBehavior weaponBehavior;

    public void setWeapon(WeaponBehavior w){
        weaponBehavior = w;
    }

    public void performWarpon(){
        weaponBehavior.useWeapon();
    }

    public abstract void fight();
}
